package com.example.springboot_admin.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author svblack
 * @since 2024-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("orders")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("order_id")
    private Integer order_id;

    @TableField("user_id")
    private Integer user_id;

    @TableField("sku_id")
    private Integer sku_id;

    @TableField("quantity")
    private Integer quantity;

    @TableField("shipping_id")
    private Integer shipping_id;

    @TableField("actual_payment")
    private BigDecimal actual_payment;

    @TableField("payment_type")
    private String payment_type;

    @TableField("shipping_fee")
    private BigDecimal shipping_fee;

    @TableField("status")
    private Integer status;

    @TableField("create_time")
    private LocalDateTime create_time;

    @TableField("update_time")
    private LocalDateTime update_time;
}
